package com.iotp.entity.base;

import lombok.Data;

@Data
public class TreeData{
    private String id;// 节点Id
    private String pId;// 父节点Id
    private String name;// 节点名称
    private boolean checked;// 是否选中
    private boolean open;// 是否展开

    public TreeData(String id, String pId, String name, boolean checked, boolean open) {
        this.id = id;
        this.pId = pId;
        this.name = name;
        this.checked = checked;
        this.open = open;
    }
}
